package com.hainingtong.busapi.bean;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

@Data
public class StationResult {
    @JSONField(name = "SEGMENT_ID")
    int segmentId;
    @JSONField(name = "BUS_NAME")
    String name;
    @JSONField(name = "BUS_START_STATION")
    String startStation;
    @JSONField(name = "BUS_END_STATION")
    String endStation;
    @JSONField(name = "BUS_START_TIME")
    String startTime;
    @JSONField(name = "BUS_END_TIME")
    String endTime;
    @JSONField(name = "PRICE_NOTE")
    String priceNote;
    @JSONField(name = "DIRECTIONS")
    int[] directions;
    @JSONField(name = "PRICE")
    int price;
    @JSONField(name = "BUS_STATIONS")
    List<Station> stations;
}
